<template>
	<div>
		<input type="text" :value="value" @input="$emit('update:value', $event!.target!.value)" />
	</div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

InputEvent
export default defineComponent({
	props: {
		value: String
	},
	emits: ['update:value'],
})
</script>